From: Bohdan Chubuk Date: Sun, 9 Nov 2025 22:14:28 +0000 (+0200) Subject: cloudflared: fix duplicate "run" command argument X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=137a710fc2823098856585a293cb7ac9c5f505e2;p=feed%2Fpackages.git cloudflared: fix duplicate "run" command argument The init script was appending the 'run' subcommand twice. The first instance was misplaced, causing a command syntax error by placing 'run' before other tunnel options, which breaks the service. This patch removes the first, incorrect 'run' argument, leaving the second one in the correct position after all options have been set. This fixes a regression introduced in pull request #27786. Ref: https://github.com/openwrt/packages/pull/27786 Signed-off-by: Bohdan Chubuk --- diff --git a/net/cloudflared/Makefile b/net/cloudflared/Makefile index 604834e920..066113a731 100644 --- a/net/cloudflared/Makefile +++ b/net/cloudflared/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=cloudflared PKG_VERSION:=2025.11.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/cloudflare/cloudflared/tar.gz/$(PKG_VERSION)? diff --git a/net/cloudflared/files/cloudflared.init b/net/cloudflared/files/cloudflared.init index 2e61f5a66d..cfdd091aad 100755 --- a/net/cloudflared/files/cloudflared.init +++ b/net/cloudflared/files/cloudflared.init @@ -26,7 +26,6 @@ start_service() { procd_open_instance "$CONF" procd_set_param command "$PROG" "tunnel" procd_append_param command "--no-autoupdate" - procd_append_param command "run" append_param_arg "edge_bind_address" append_param_arg "edge_ip_version"